package com.spider.admin.scaffold.entity.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 角色和资源的中间关联表
 *
 * @author xiong.bo
 * @version 1.0
 * @date 2020/11/29 17:13
 */

@TableName("sys_role_resource")
@Data
@EqualsAndHashCode(callSuper = true)
public class SystemRoleResource extends BaseModel{

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 资源id
     */
    private Long resourceId;

}
